Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: JManager Reference /
Chapter 1 - JManager Reference


JManager and the Java Runtime Environment

Java is an object-oriented programming language that you can use to construct programs that can run without modification on multiple platforms. To accomplish this, Java requires that each platform provide a virtual machine (VM) that can interpret and execute compiled Java code. A virtual machine is software that simulates an abstract microprocessor, complete with its own registers and instruction set. This virtual machine executes "system software" that

Each platform that supports Java must contain software that emulates this virtual machine. The combination of the virtual machine and the associated system software is called the Java runtime environment.

You can think of the Java runtime environment as a black box platform running within the Mac OS. This platform can handle multiple programs, and each program can contain virtual windows, buttons, and text. In order for the virtual machine to interact with the outer world, the actions that occur within the Java VM must be mapped to a similar action on the Mac OS. For example, if a Java applet decides to create a window, a Mac OS application must map that window to an actual one that the user can see. Similarly, a mouse click by the user must be passed by the application to the Java VM so the applet can take proper action. JManager is the interface that handles these translations.

You can use JManager to accomplish the following on the Mac OS platform:


Previous Book Contents Book Index Next

© Apple Computer, Inc.
13 DEC 1996




Navigation graphic, see text links

Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help